<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use common\widgets\Alert;
use yii\helpers\Url;

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
	<meta charset="UTF-8">
    <title><?= Html::encode($this->params['page']['page_title']) ?></title>
    <?= $this->registerMetaTag(['name' => 'keywords', 'content' => $this->params['page']['page_keywords']]) ?>
    <?= $this->registerMetaTag(['name' => 'description', 'content' => $this->params['page']['page_description']]) ?>
	<link rel="stylesheet" href="http://static.tianpinwang.com.cn/v1/css/global.css"/>
	<link rel="stylesheet" href="http://static.tianpinwang.com.cn/v1/css/main.css"/>
	<link rel="stylesheet" href="http://static.tianpinwang.com.cn/v1/icons/font-awesome.min.css">
	<link rel="stylesheet" href="http://static.tianpinwang.com.cn/v1/icons/iconfont/iconfont.css">

	<script src="http://static.tianpinwang.com.cn/v1/js/jquery-1.11.2.min.js"></script>
    <script src="http://static.tianpinwang.com.cn/v1/js/layer/layer.js"></script>
    <?= Html::csrfMetaTags() ?>
	<?php $this->head() ?>

	<?= $this->params['w_config']['statistics_code'] //统计代码?> 	
</head>
<body>
<?php $this->beginBody() ?>

        <div class="loginHeader">
            <div class="content-wrap">
                <a href="/" class="logo">
                    <img src="http://static.tianpinwang.com.cn/v1/images/logo.png" alt=""/>
                    <span class="tt">欢迎登录</span>
                </a>
                <img class="icons" src="http://static.tianpinwang.com.cn/v1/images/index/slogen.png" style="float:right;margin-right:20px">
                <!-- <ul class="icons">
                    <li>
                        <p>厂家直供<br>正品保障</p>
                        <img src="http://static.tianpinwang.com.cn/v1/images/head-icon1.png" alt=""/>
                    </li>
                    <li>
                        <p>免费拿样<br>批发无忧</p>
                        <img src="http://static.tianpinwang.com.cn/v1/images/head-icon2.png" alt=""/>
                    </li>
                    <li>
                        <p>全国送达<br>48小时发货</p>
                        <img src="http://static.tianpinwang.com.cn/v1/images/head-icon3.png" alt=""/>
                    </li>
                </ul> -->
                <ul class="loginArea" style="display:none">
                    <li>
                        <a href="/site/login">登录</a>
                    </li>
                    <li>
                        <a href="/site/register">免费注册</a>
                    </li>
                </ul>
            </div>
        </div>


	<?= $content ?>

        <div class="loginFooter">
          <div class="content-wrap">
            <p class="copyTxt">Copyright ©2016 <?= $this->params['w_config']['domain_base'] ?>  All Rights Reserved. 
                <?=$this->params['w_config']['icp']?>
            </p>
          </div>
        </div>

<?php $this->endBody() ?>
 
</body>
</html>
<?php $this->endPage() ?>